package com.example.designpatterns.creational.abstractfactory.factory;

import com.example.designpatterns.creational.abstractfactory.product.Bottle;
import com.example.designpatterns.creational.abstractfactory.product.CocaCola;
import com.example.designpatterns.creational.abstractfactory.product.CocaColaBottle;
import com.example.designpatterns.creational.abstractfactory.product.Cola;

/**
 * 可口可乐主题工厂
 *
 * @author scott
 */
public class CocaColaFactory implements ColaFactory {

    @Override
    public Cola createCola() {
        return new CocaCola();
    }

    @Override
    public Bottle createBottle() {
        return new CocaColaBottle();
    }

}
